package main

import (
	"fmt"
	"net/http"
)

func main() {
	http.HandleFunc("/", block)
	http.HandleFunc("/123", block2)
	http.ListenAndServe("localhost:8000", nil)
}

func block(w http.ResponseWriter, r *http.Request) {
	fmt.Fprintln(w, "block")
}

func block2(w http.ResponseWriter, r *http.Request) {
	fmt.Fprintln(w, "block2")
}
